import commonLayout from '@/layout/admin/common';
export default [{
	path: "/system",
	name: "System",
	meta: {
		title: "系统管理"
	},
	redirect: "/system/user",
	component: commonLayout,
	children: [{
		path: "user",
		name: "systemUser",
		meta: {
			title: "用户管理"
		},
		component: () => import("@/views/system/user/index")
	}, {
		path: "depart",
		name: "systemDepart",
		meta: {
			title: "部门管理"
		},
		component: () => import("@/views/system/depart/index")
	}, {
		path: "role",
		name: "systemRole",
		meta: {
			title: "角色管理"
		},
		component: () => import("@/views/system/role/index")
	}, {
		path: "dict",
		name: "systemDict",
		meta: {
			title: "字典管理"
		},
		component: () => import("@/views/system/dict/index")
	}, {
		path: "menu",
		name: "SystemMenu",
		meta: {
			title: "菜单管理"
		},
		component: () => import("@/views/system/menu/index")
	}, {
		path: "log",
		name: "systemLog",
		meta: {
			title: "系统日志"
		},
		component: () => import("@/views/system/log/index")
	}, {
		path: "config",
		name: "systemConfig",
		redirect: "/system/config/site",
		meta: {
			title: "系统配置"
		},
		component: () => import("@/views/system/config/index"),
		children: [{
			path: 'site',
			name: 'systemConfigSite',
			meta: {
				title: "网站配置"
			},
			component: () => import("@/views/system/config/site/index")
		}, {
			path: 'appsafe',
			name: 'systemConfigAppsafe',
			meta: {
				title: "应用安全"
			},
			component: () => import("@/views/system/config/appsafe/index")
		}, {
			path: 'accountsafe',
			name: 'systemConfigAccountsafe',
			meta: {
				title: "账号安全"
			},
			component: () => import("@/views/system/config/accountsafe/index")
		}, {
			path: 'backup',
			name: 'systemConfigBackup',
			meta: {
				title: "网络安全"
			},
			component: () => import("@/views/system/config/backup/index")
		}, {
			path: 'restriction',
			name: 'systemConfigRestriction',
			meta: {
				title: "访问限制"
			},
			component: () => import("@/views/system/config/restriction/index")
		}]
	}, {
		path: "networkMonitoring",
		name: "systemMonitor",
		meta: {
			title: "网络监控"
		},
		component: () => import("@/views/system/monitor/index")
	}, {
		path: "feedback",
		name: "systemFeedback",
		meta: {
			title: "反馈管理"
		},
		component: () => import("@/views/system/feedback/index")
	}, {
		path: "notice",
		name: "systemNotice",
		meta: {
			title: "通知公告"
		},
		component: () => import("@/views/system/notice/index")
	}, {
		path: 'notice/:id',
		name: 'systemNoticeDetail',
		meta: {
			title: "通知公告详情"
		},
		component: () => import("@/views/system/notice/detail")
	}]
}]